import myAxios from '@/utils/request'

export const queryUserListApi = (params) =>
  myAxios.get('/users/page', { params: params })

export const updateUserApi = (ids, locked) =>
  myAxios.put(`/users`, {
    ids: ids,
    locked: locked
  })
